package com.ysy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * <p>
 * 频道-话题关联表
 * </p>
 *
 * @author yangSy
 * @since 2025-04-23
 */
@Getter
@Setter
@ToString
@TableName("channel_topic_rel")
public class ChannelTopicRel implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 频道ID
     */
    @TableField("channel_id")
    private Long channelId;

    /**
     * 话题ID
     */
    @TableField("topic_id")
    private Long topicId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;
}
